//==============================================================================
// miningcamp_anim.txt
//==============================================================================

import Construction_defines_anim.txt

//==============================================================================
define empower
{
   SetSelector
   {
      EmpowerLogic
      SetSelector
      {
         set hotspot
         {
            version
            {
               Visualnone Jimmy
            }
         }
      }
      SetSelector
      {
         set hotspot
         {
            version
            {
               Visualparticle SFX E Pharaoh Empower Small
            }
         }
      }
   }
}

//==============================================================================
define Dust
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Building DustA
      }
   }  
}

//==============================================================================
define ACC1AGE2
{
   set hotspot
   {
      version
      {
          Visual Building Beta E Granary ACC1
Replacetexture Building E Age2 Burnt/Building E Age2
      }
   }
}
//==============================================================================
define ACC2AGE2
{
   set hotspot
   {
      version
      {
          Visual Building Beta E Granary ACC2
Replacetexture Building E Age2 Burnt/Building E Age2
      }
   }
}
//==============================================================================
define ACC3AGE2
{
   set hotspot
   {
      version
      {
          Visual Building Beta E Granary ACC3
REplacetexture Building E Age2 Burnt/Building E Age2
      }
   }
}
//==============================================================================
define ACC4AGE2
{
   set hotspot
   {
      version
      {
          Visual Building Beta E Granary ACC4
Replacetexture Building E Age2 Burnt/Building E Age2
      }
   }
}


//==============================================================================
define ACC1AGE3
{
   set hotspot
   {
      version
      {
          Visual Building Beta E Granary ACC1
Replacetexture building e age2 wall/Building Beta E Granary Age3 Roof
Replacetexture building E Age2 accessories/Building Beta E Temple Flags Age3
Replacetexture Building E Age2 Burnt/Building E Age3
      }
   }
}
//==============================================================================
define ACC2AGE3
{
   set hotspot
   {
      version
      {
          Visual Building Beta E Granary ACC2
Replacetexture building e age2 wall/Building Beta E Granary Age3 Roof
Replacetexture building E Age2 accessories/Building Beta E Temple Flags Age3
Replacetexture Building E Age2 Burnt/Building E Age3
      }
   }
}
//==============================================================================
define ACC3AGE3
{
   set hotspot
   {
      version
      {
          Visual Building Beta E Granary ACC3
Replacetexture building e age2 wall/Building Beta E Granary Age3 Roof
Replacetexture building E Age2 accessories/Building Beta E Temple Flags Age3
REplacetexture Building E Age2 Burnt/Building E Age3
      }
   }
}
//==============================================================================
define ACC4AGE3
{
   set hotspot
   {
      version
      {
          Visual Building Beta E Granary ACC4
Replacetexture building e age2 wall/Building Beta E Granary Age3 Roof
Replacetexture building E Age2 accessories/Building Beta E Temple Flags Age3
Replacetexture Building E Age2 Burnt/Building E Age3
      }
   }
}
//==============================================================================
define ACC1AGE4
{
   set hotspot
   {
      version
      {
          Visual Building Beta E Granary ACC1
Replacetexture building e age2 wall/Building Beta E Granary Age4 Roof
Replacetexture building E Age2 accessories/Building Beta E Temple Flags Age4
Replacetexture Building E Age2 Burnt/Building E Age4
      }
   }
}
//==============================================================================
define ACC2AGE4
{
   set hotspot
   {
      version
      {
          Visual Building Beta E Granary ACC2
Replacetexture building e age2 wall/Building Beta E Granary Age4 Roof
Replacetexture building E Age2 accessories/Building Beta E Temple Flags Age4
Replacetexture Building E Age2 Burnt/Building E Age4
      }
   }
}
//==============================================================================
define ACC3AGE4
{
   set hotspot
   {
      version
      {
          Visual Building Beta E Granary ACC3
Replacetexture building e age2 wall/Building Beta E Granary Age4 Roof
Replacetexture building E Age2 accessories/Building Beta E Temple Flags Age4
REplacetexture Building E Age2 Burnt/Building E Age4
      }
   }
}
//==============================================================================
define ACC4AGE4
{
   set hotspot
   {
      version
      {
          Visual Building Beta E Granary ACC4
Replacetexture building e age2 wall/Building Beta E Granary Age4 Roof
Replacetexture building E Age2 accessories/Building Beta E Temple Flags Age4
Replacetexture Building E Age2 Burnt/Building E Age4
      }
   }
}
//==============================================================================
define ACCEX1
{
   set hotspot
   {
      version
      {
          Visual Building Beta E Granary EX1

      }
   }
}
//==============================================================================
define ACCEX2
{
   set hotspot
   {
      version
      {
          Visual Building Beta E Granary EX2
      }
   }
}
//==============================================================================
define ACCEX3
{
   set hotspot
   {
      version
      {
          Visual Building Beta E Granary EX3
      }
   }
}


//==============================================================================
anim Idle
{
   SetSelector
   {
		TechLogic none/age 2/age 3/age 4
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
			Visual Building Beta E Granary
					connect hotspot ACC1AGE2 hotspot
					connect hotspot ACC2AGE2 hotspot
					connect hotspot ACC3AGE2 hotspot
					connect hotspot ACC4AGE2 hotspot
					connect hotspot ACCEX1 hotspot
					connect hotspot ACCEX2 hotspot
					connect hotspot ACCEX3 hotspot
Replacetexture Building E Age2 Burnt/Building E Age2

				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small A
                                        Replacetexture building e age1/norsemod age1
                                        Replacetexture building e age2 accessories/norse mod acces1
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small B
                                        Replacetexture building e age1/norsemod age1
                                        Replacetexture building e age2 accessories/norse mod acces1
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building G ConstructionMine
                                        Replacetexture building e age1/norsemod age1
                                        Replacetexture building e age2 accessories/norse mod acces1
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
		}
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
			Visual Building Beta E Granary
					connect hotspot ACC1AGE2 hotspot
					connect hotspot ACC2AGE2 hotspot
					connect hotspot ACC3AGE2 hotspot
					connect hotspot ACC4AGE2 hotspot
					connect hotspot ACCEX1 hotspot
					connect hotspot ACCEX2 hotspot
					connect hotspot ACCEX3 hotspot
Replacetexture Building E Age2 Burnt/Building E Age2
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small A
                                        Replacetexture building e age2/norsemod age2
                                        Replacetexture building e age2 accessories/norse mod acces2
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small B
                                        Replacetexture building e age2/norsemod age2
                                        Replacetexture building e age2 accessories/norse mod acces2
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building G ConstructionMine
                                        Replacetexture building e age2/norsemod age2
                                        Replacetexture building e age2 accessories/norse mod acces2
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
		}
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
			Visual Building Beta E Granary
					connect hotspot ACC1AGE3 hotspot
					connect hotspot ACC2AGE3 hotspot
					connect hotspot ACC3AGE3 hotspot
					connect hotspot ACC4AGE3 hotspot
					connect hotspot ACCEX1 hotspot
					connect hotspot ACCEX2 hotspot
					connect hotspot ACCEX3 hotspot
Replacetexture Building E Age2 Burnt/Building E Age3
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small A
                                        Replacetexture building e age3/norsemod age3
                                        Replacetexture building e age3a accessories/storehouse age3 accessories
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small B
                                        Replacetexture building e age3/norsemod age3
                                        Replacetexture building e age3a accessories/storehouse age3 accessories
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building G ConstructionMine
                                        Replacetexture building e age3/norsemod age3
                                        Replacetexture building e age3a accessories/storehouse age3 accessories
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
		}
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
			Visual Building Beta E Granary
					connect hotspot ACC1AGE4 hotspot
					connect hotspot ACC2AGE4 hotspot
					connect hotspot ACC3AGE4 hotspot
					connect hotspot ACC4AGE4 hotspot
					connect hotspot ACCEX1 hotspot
					connect hotspot ACCEX2 hotspot
					connect hotspot ACCEX3 hotspot
Replacetexture Building E Age2 Burnt/Building E Age4
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small A
                                        Replacetexture building e age4/norsemod age4
                                        Replacetexture building e age4roof/storehouse age4 accessories
                                        Replacetexture building e age2 accessories/norse mod acces2
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small B
                                        Replacetexture building e age4/norsemod age4
                                        Replacetexture building e age4roof/storehouse age4 accessories
                                        Replacetexture building e age2 accessories/norse mod acces2
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building G ConstructionMine
                                        Replacetexture building e age4/norsemod age4
                                        Replacetexture building e age4roof/storehouse age4 accessories
                                        Replacetexture building e age2 accessories/norse mod acces2
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
		}
	}
}

//==============================================================================
anim Death
{
   SetSelector
   {
		TechLogic none/age 2/age 3/age 4
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
			Visual Building Beta E Granary
					connect hotspot ACC1AGE2 hotspot
					connect hotspot ACC2AGE2 hotspot
					connect hotspot ACC3AGE2 hotspot
					connect hotspot ACC4AGE2 hotspot
					connect hotspot ACCEX1 hotspot
					connect hotspot ACCEX2 hotspot
					connect hotspot ACCEX3 hotspot
Replacetexture Building E Age2 Burnt/Building E Age2
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small A
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small B
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building G ConstructionMine
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
		}
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
			Visual Building Beta E Granary
					connect hotspot ACC1AGE2 hotspot
					connect hotspot ACC2AGE2 hotspot
					connect hotspot ACC3AGE2 hotspot
					connect hotspot ACC4AGE2 hotspot
					connect hotspot ACCEX1 hotspot
					connect hotspot ACCEX2 hotspot
					connect hotspot ACCEX3 hotspot
Replacetexture Building E Age2 Burnt/Building E Age2
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small A
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small B
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building G ConstructionMine
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
		}
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
			Visual Building Beta E Granary
					connect hotspot ACC1AGE3 hotspot
					connect hotspot ACC2AGE3 hotspot
					connect hotspot ACC3AGE3 hotspot
					connect hotspot ACC4AGE3 hotspot
					connect hotspot ACCEX1 hotspot
					connect hotspot ACCEX2 hotspot
					connect hotspot ACCEX3 hotspot
Replacetexture Building E Age2 Burnt/Building E Age3
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small A
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small B
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building G ConstructionMine
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
		}
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
			Visual Building Beta E Granary
					connect hotspot ACC1AGE4 hotspot
					connect hotspot ACC2AGE4 hotspot
					connect hotspot ACC3AGE4 hotspot
					connect hotspot ACC4AGE4 hotspot
					connect hotspot ACCEX1 hotspot
					connect hotspot ACCEX2 hotspot
					connect hotspot ACCEX3 hotspot
Replacetexture Building E Age2 Burnt/Building E Age4
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small A
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small B
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building G ConstructionMine
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
		}
	}
}


